home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / DEPOSITO / REmovido / Nave / Santos.swf / scripts / DefineSprite_572 / frame_27 / DoAction.as
Text File  |  2006-06-13  |  267b  |  8 lines

  1. if(_Y - "40" < getProperty("../Schiff1", _Y) and getProperty("../Schiff1", _Y) < _Y + "40")
  2. {
  3.    if(_X + "400" >= getProperty("../Schiff1", _X) and getProperty("../Schiff1", _X) >= _X - "400")
  4.    {
  5.       set("../:Energie",eval("../:Energie") - "1000");
  6.    }
  7. }
  8.